home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / windows4 / prndrv.zip / MAINWND.H < prev    next >
Text File  |  1992-02-20  |  896b  |  26 lines

  1. // MAINWND.H
  2. // Copyright (c) 1992 Microsoft Corporation. All rights reserved.
  3.  
  4. // global variables
  5. short         nCurrentDevice;
  6. HANDLE        hDriver;
  7. int           ixClient, iyClient, n, cxChar, cyChar, nCurrentInfo;
  8. char          szAllDevices[4096], szDevice[32], szDriver[32], szDriverFile[16];
  9. char          *szOutput, *szPtr ;
  10.  
  11.  
  12. // Function prototypes for external type checking.
  13.  
  14. long FAR PASCAL MainWndProc(HWND hWnd, unsigned message, WORD wParam, LONG lParam);
  15.   
  16. long DoCommands (HWND hWnd, unsigned message, WORD wParam, LONG lParam);
  17. BOOL DumpDriverInfo(HDC hDC);
  18. BOOL DumpDevmodeInfo(HWND hWnd, HDC hDC);
  19. BOOL DumpPaperInfo(HDC hDC);
  20. BOOL DumpBinInfo(HDC hDC);
  21. void DisplayTextHeader(HDC hDC, int ixPos, int iyPos, LPSTR lpstrHText);
  22. BOOL IsBadDRV(LPSTR lpstrDRVName);
  23.  
  24. unsigned int GetFileDateTime (int hFile, unsigned int* uTime, unsigned int* uDate);
  25. 
  26.